#ifndef __MSP_GPIO_H__
#define __MSP_GPIO_H__

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
// stm32 lib
#include "stm32f1xx_ll_gpio.h"

// 状态指示LED引脚
#define BLUE_LED_PIN                        LL_GPIO_PIN_7
#define BLUE_LED_PORT                       GPIOC
#define GREE_LED_PIN                        LL_GPIO_PIN_13
#define GREE_LED_PORT                       GPIOC
// 状态指示LED控制
#define BLUE_LED_ON()                       LL_GPIO_ResetOutputPin(BLUE_LED_PORT, BLUE_LED_PIN)
#define BLUE_LED_OFF()                      LL_GPIO_SetOutputPin(BLUE_LED_PORT, BLUE_LED_PIN)
#define GREE_LED_ON()                       LL_GPIO_ResetOutputPin(GREE_LED_PORT, GREE_LED_PIN)
#define GREE_LED_OFF()                      LL_GPIO_SetOutputPin(GREE_LED_PORT, GREE_LED_PIN)

void MSP_GPIO_Init(void);
void MSP_GT911_INT_RST_GPIO_Init(void);

#ifdef __cplusplus
}
#endif
#endif /* __MSP_GPIO_H__ */

